<template>
  <div class="box">
    {{ title }}
    <hr>
    <!-- TsDiv() -->
    <TsDiv name="jack" age="20" email="jack@qq.com"></TsDiv>
    <TsButton @abc="log" @efg="say"></TsButton>
  </div>
</template>
<script>
export default {
  data() {
    return {
      title: 'hello lili'
    }
  },
  computed: {},
  watch: {},
  methods: {
    say(e) {
      console.log(e);
    },
    // @abc="log"
    // this.$emit('abc', { a: 1 })
    // log( { a: 1 })
    log(e) {
      console.log(e);
    },

  }
}
</script>
<style>
.box {
  color: red;
}
</style>